package com.jjwxc.jwjskandriod.model;

import java.util.List;

public class LatestGiftResponse {


    /**
     * code : 200
     * message : 操作成功
     * data : [{"username":"书友83368570","userImg":"https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png","amount":200,"giftCount":2,"giftId":"1","giftName":"地雷"},{"username":"书友83368570","userImg":"https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png","amount":100,"giftCount":1,"giftId":"1","giftName":"地雷"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * username : 书友83368570
         * userImg : https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png
         * amount : 200
         * giftCount : 2
         * giftId : 1
         * giftName : 地雷
         */

        private String username;
        private String userImg;
        private int amount;
        private int giftCount;
        private String giftId;
        private String giftName;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getUserImg() {
            return userImg;
        }

        public void setUserImg(String userImg) {
            this.userImg = userImg;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getGiftCount() {
            return giftCount;
        }

        public void setGiftCount(int giftCount) {
            this.giftCount = giftCount;
        }

        public String getGiftId() {
            return giftId;
        }

        public void setGiftId(String giftId) {
            this.giftId = giftId;
        }

        public String getGiftName() {
            return giftName;
        }

        public void setGiftName(String giftName) {
            this.giftName = giftName;
        }
    }
}
